// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "UI/Core/RuleWidget.h"
#include "UI_MainHall.generated.h"

/**
 * 
 */
UCLASS()
class TF_20240717_API UUI_MainHall : public URuleWidget
{
	GENERATED_BODY()

private:
	UPROPERTY(meta=(BindWidget))
	class UBorder* MainBorder;

	UPROPERTY(meta=(BindWidget))
	class USizeBox* BoxList;
	
	UPROPERTY(meta=(BindWidget))
	class UUI_HallMenuSystem* HallMenuSystem;

	UPROPERTY(EditDefaultsOnly, Category=UI)
	TSubclassOf<class UUI_ArchivesSystem> ArchivesSystemClass;

	UPROPERTY(EditDefaultsOnly, Category=UI)
	TSubclassOf<class UUI_GameSettingsSystem> GameSettingsSystemClass;

	UPROPERTY(EditDefaultsOnly, Category=UI)
	TSubclassOf<class UUI_TutorialWebsiteSystem> TutorialSystemClass;
	
	// 类似Actor中的BeginPlay
	virtual void NativeConstruct() override;

public:
	UFUNCTION()
	void GameStart();
	UFUNCTION()
	void SecretTerritory();
	
	void History();
	
	void GameSettings();
	
	void TutorialWebsite();
	UFUNCTION()
	void Browser();
	UFUNCTION()
	void SpecialContent();
	UFUNCTION()
	void QuiteGame();
	
};
